package com.bruce.asurada.common.constants;

public interface TokenConstants {

    String AUTH_CODE_COOKIE_NAME = "sso_auth_code";

    String AUTO_CODE_PREFIX = "sso:authcode";

    String IM_SESSION_TOKEN_TYPE = "im_session" ;

    String IM_ACCESS_TOKEN_PREFIX = "sso:im:session";

    String IM_ACCESS_TOKEN_TYPE = "im_access" ;

    String IM_SESSION_TOKEN_PREFIX = "sso:im:access";

    String TOKEN_PREFIX = "sso:token:";
    
    String REFRESH_TOKEN_PREFIX = "sso:refresh:";

    String ACCESS_TOKEN_HEADER_NAME = "X-Access-Token";
    String REFRESH_TOKEN_HEADER_NAME = "X-Refresh-Token";
    String IM_SESSION_TOKEN_HEADER_NAME = "X-IM-Session-Token";
    String IM_ACCESS_TOKEN_HEADER_NAME = "X-IM-Access-Token";
}
